package com.zyz.I_多线程.匿名内部类;

/**
 * @author: vick
 * @Date: 2025/3/21
 * @Description:
 * @version: 1.0
 */
public class Test02 {
    public static void main(String[] args) {
        UserService userService = new UserService() {
            @Override
            public void query() {
                System.out.println("查询倒萨倒萨倒萨");
            }
        };

        userService.query();
    }
}
